#pragma once
#include "framework.h"

class Ship : public poly::RigidPoly
{
public:
	Ship( Dynamics* dynamic );
	void setInput( poly::SInput & input );
	void step( float dt );

	class ICallback
	{
	public:

	};

private:
	class Particle : public RigidCircle
	{
	public:
		Particle() : age(0), life(0) {}
		float age;
		float life;
		void step( float dt );
	};

	typedef std::list<RigidCircle> RigidCircleList;

	Dynamics*		m_dynamics;
	poly::SInput*	m_input;
	RigidCircleList	m_particles;
};
